//
// Created by wze-zero on 2024/8/21 021.
//
#include <iostream>
#include <iomanip>
#include <cmath>

#define TIME (3.156*pow(10,7))

using namespace std;

int main() {
    int age;
    cin >> age;
    cout << fixed << setprecision(0) << age * TIME << endl;
    return 0;
}